package com.returnsoft.softphone.service;



import java.util.Date;
import java.util.List;

import javax.ejb.Remote;

import com.returnsoft.softphone.dto.SessionDto;
import com.returnsoft.softphone.exception.CCenterExcepcion;

@Remote
public interface SessionInterface {
	
	/*public List<SessionDto> checkSessions(Integer agentId, String host) throws CustomExcepcion;
	
	public List<SessionDto> changeState(Integer agentId, String host, String stateCode) throws CustomExcepcion;
	
	public String closeSessions(Integer agentId) throws CustomExcepcion;*/
	public List<SessionDto> findSessionsForAgent(Date startedAt, Integer agentId) throws CCenterExcepcion;
	public List<SessionDto> findSessionsForSupervisor(List<Integer> sessionTypesId, List<Integer> campaignsId,
			List<Integer> supervisorsId, Date startedAt,
			String code, String name, String documentNumber, String username,
			String host, String peer, Boolean openSessions) throws CCenterExcepcion;
	
}
